package org.crud4j.wicket.app;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.model.Model;
import org.crud4j.ejb3.example.Teacher;
import org.crud4j.wicket.markup.html.CrudPanel;

public class TeacherPage extends WebPage {

	private static final long serialVersionUID = 1L;

	@SuppressWarnings("unchecked")
	public TeacherPage() throws Exception {
		super();

		// add crud panel
		add(new CrudPanel("crud", new Model(Teacher.class)));

	}

}
